package com.jingdianjichi.subject.application.controller;

import com.alibaba.fastjson.JSON;
import com.google.common.base.Preconditions;
import com.jingdianjichi.subject.application.convert.SubjectCategoryDTOConverter;
import com.jingdianjichi.subject.application.dto.SubjectCategoryDTO;
import com.jingdianjichi.subject.common.entity.Result;
import com.jingdianjichi.subject.common.enums.IsDeletdFlageEnum;
import com.jingdianjichi.subject.domain.convert.SubjectCategoryConverter;
import com.jingdianjichi.subject.domain.entity.SubjectCategoryBO;
import com.jingdianjichi.subject.domain.service.SubjectCategoryDomainService;
import com.jingdianjichi.subject.infra.entity.UserInfo;
import com.jingdianjichi.subject.infra.rpc.UserRpc;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
import java.util.Hashtable;
import java.util.List;

/**
 * SubjectCategoryController 类
 *
 * @author 熊苏鹏1
 * @date 2025/1/30 17:42
 * @description 无
 */
@RestController
@Slf4j
@RequestMapping("/subject/category")
public class TestFeignController {
    @Resource
    private UserRpc userRpc;
    @RequestMapping("/test")
    public Result<UserInfo> test() {
        return Result.ok(userRpc.getUserInfo("jichi"));
    }




}
